//
//  JiuDianViewCell.m
//  TravelYo
//
//  Created by lanou3g on 15/10/31.
//  Copyright © 2015年 TravelYo. All rights reserved.
//

#import "JiuDianViewCell.h"

@interface JiuDianViewCell ()



@end


@implementation JiuDianViewCell


//- (instancetype)initWithFrame:(CGRect)frame
//{
//    self = [super initWithFrame:frame];
//    if (self) {
//        _selfWidth = frame.size.width;
//        _selfHeight = frame.size.height;
//        [self addSubViews];
//    }
//    return self;
//}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addSubViews];
    }
    return self;
}



- (void)addSubViews
{
    
    self.imageV = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight - 300 - 114)];
    // self.imageV.backgroundColor = [UIColor redColor];
    self.imageV.image = [UIImage imageNamed:@"234.jpg"];
    [self.contentView addSubview:self.imageV];
    
    
    self.button = [UIButton buttonWithType:(UIButtonTypeCustom)];
    // self.button.backgroundColor = [UIColor redColor];
    self.button.frame = CGRectMake(25, 60, (kScreenWidth - 50) , 30);
    [self.imageV addSubview:self.button];
    
    
    
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
